package com.imooc.mymall.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * <h1>用户查询DTO类</h1>
 * @Author: crowsjian
 * @Date: 2020/7/11 14:23
 */
@Data
public class UserQueryDTO implements Serializable {

    private static final long serialVersionUID = 2919271306923152299L;
    /*用户名*/
    @NotEmpty(message = "用户姓名不能为空！")
    private String username;
}
